<?php

include_once 'test_make_page.php';

// Guard against entry without a project
if (!isset($_REQUEST['project_id'])  ){
	print 'Please select or create a project first';
	//print "<a href='switchboard.php?project_id=$project_id'> Back to Switchboard</a>";
	exit;
}

$project_id = $_REQUEST['project_id'];

$thepage = test_make_page($project_id);

echo "<textarea rows='80' cols='80'>";
echo $thepage;
echo '</textarea>';
